<?php
/*
	插件初始化
*/
namespace jy_aiagent;
defined('BY_JYA') or exit('error');
function init($plugin){
	//定义本场景的一些独立,为空表示共用电商客的
	$plugin->weishop_order_detail='';
	$plugin->weishop_order_list='';
	$plugin->setting=$plugin->plugin_setting('basic');
	$plugin->syscolor=$plugin->setting['syscolor']?:'';
	$plugin->plugins=array();
	$plugin->apis=array();
	$plugin->sex=array(1=>'男',2=>'女');
	$plugin->showdaytype=array(
		'1'=>'早上',
		'2'=>'中午',
		'3'=>'下午',
		'4'=>'晚上',
		'5'=>'晚上',
	);
	$plugin->llm_models=array(
		'qwen'=>'Qwen3 实时(推荐)',
		'deepseek'=>'DeepSeek V3(丰富)',
		'doubao-pro'=>'DouBao 1.5 Pro(延迟)',
		'kimi-k2'=>'Kimi-K2(内测)',
	);
	$plugin->llm_models2=array(
		'qwen'=>'千问',
		'deepseek'=>'DeepSeek-V3',
		'doubao-pro'=>'豆包',
		'kimi-k2'=>'Kimi-K2',
	);
	$plugin->emotype=array(
		'neutral'=>'中性',
		'happy'=>'开心',
		'angry'=>'生气',
		'sad'=>'悲伤',
		'fear'=>'害怕',
		'hate'=>'憎恨',
		'surprise'=>'惊讶',
		'arousal'=>'激动',
		'serious'=>'严肃',
		'disgust'=>'厌恶',
		'jealousy'=>'嫉妒',
		'embarrassed'=>'尴尬',
		'frustrated'=>'沮丧',
		'affectionate'=>'深情',
		'gentle'=>'温柔',
		'newscast'=>'播报',
		'customer-service'=>'客服',
		'story'=>'小说',
		'living'=>'直播',
	);
	$plugin->agetype=array('童声','青年','成年','中年','老年');
	$plugin->sexs=array('女声','男声');
	$plugin->yuyuantypes=array(
		'zh' => '普通话',
		'en' => '英语',
		'ja' => '日语',
		'yue' => '粤语',
		'vi' => '越南语',
		'fr' => '法语',
		'ar' => '阿拉伯语',
		'es' => '西班牙语',
		'ru' => '俄语',
		'ko' => '韩语',
		'it' => '意大利语',
		'id' => '印尼语',
		'hi' => '印地语',
		'fi' => '芬兰语',
		'th' => '泰语',
		'de' => '德语',
		'pt' => '葡萄牙语',
		'uk' => '乌克兰语',
		'tr' => '土耳其语',
		'cs' => '捷克语',
		'pl' => '波兰语',
		'ro' => '罗马尼亚语'
	);
	$plugin->intensity=array('0.5','1.0','1.5','2.0');
	$plugin->volumes=array('0.5','0.8','1.0','1.1','1.2','1.3','1.4','1.5','1.6','1.7','1.8','1.9','2.0');
	$plugin->bgvolumes=array('0.1','0.2','0.3','0.4','0.5','0.8','1.0','1.1','1.2','1.3','1.4','1.5');
	$plugin->agent_status=array(
		'0'=>'待审核',
		'1'=>'审核通过',
		'2'=>'审核不通过',
	);
	$plugin->pay_types=array(
		'alipay'=>'打款到支付宝',
		'union'=>'打款到银行卡',
	);
	$plugin->buy_creditfrom=array(
		'0'=>'系统提供奖励',
		'1'=>'上级提供奖励',
	);
	$plugin->balance_status=array(
		'0'=>'待审核',
		'1'=>'审核通过',
		'2'=>'审核不通过',
		'3'=>'已打款',
	);
	$plugin->mxtype=array(
		'1'=>'GPT3.0',
		'2'=>'GPT3.5',
		'3'=>'GPT4.0',
	);
	$plugin->commission_status=array(
		'0'=>'订单待完成',
		'1'=>'待结算',
		'2'=>'已结算',
	);
	$plugin->xuniname='知识币';
	$credit_types=credit_types();
	$plugin->credit_type=$credit_types;
	$plugin->commission_money_types2=array(
		'1'=>'推广佣金',
		'2'=>'二级佣金',
		'3'=>'三级佣金',
		'17'=>'邀请奖励',
		'20'=>'极差分红',
		'21'=>'月度奖励',
		'22'=>'排位奖励',
		'23'=>'下级签到奖励',
		'24'=>'兑换分销奖励'
	);
}